package com.ruoyi.erp.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 外派月账单对象 staffing_month_bill
 * 
 * @author sauger
 * @date 2022-03-17
 */
@Data
public class StaffingMonthBill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 项目 */
    @Excel(name = "项目ID")
    private Integer projectId;

    @Excel(name = "项目名称", type = Excel.Type.EXPORT)
    private  String projectName;

    /** 项目人员 */
    @Excel(name = "员工ID*")
    private Integer personId;

    /** 用户id */
    private Integer userId;

    @Excel(name = "姓名", type = Excel.Type.EXPORT)
    private String personName;

    /** 年 */
    @Excel(name = "年*")
    private Integer billYear;

    /** 月 */
    @Excel(name = "月*")
    private Integer billMonth;

    /** 全勤天数 */
    @Excel(name = "全勤天数")
    private BigDecimal fullDayCount;

    /** 出勤天数 */
    @Excel(name = "出勤天数")
    private BigDecimal normalDayCount;

    /** 缺勤天数 */
    @Excel(name = "缺勤天数")
    private BigDecimal absentDayCount;

    /** 1倍加班小时数 */
    @Excel(name = "1倍加班小时数")
    private BigDecimal overtimeHour1;

    /** 1.5倍加班小时数 */
    @Excel(name = "1.5倍加班小时数")
    private BigDecimal overtimeHour2;

    /** 3倍加班小时数 */
    @Excel(name = "3倍加班小时数")
    private BigDecimal overtimeHour4;

    /** 工时费用 */
    @Excel(name = "工时费用")
    private BigDecimal workFee;

    /** 2倍加班小时数 */
    @Excel(name = "2倍加班小时数")
    private BigDecimal overtimeHour3;

    /** 加班费 */
    @Excel(name = "加班费", type = Excel.Type.EXPORT)
    private BigDecimal overtimeFee;

    /** 报销费用 */
    @Excel(name = "报销费用")
    private BigDecimal expenseFee;

    /** 报销结算费用 */
    @Excel(name = "报销结算费用", type = Excel.Type.EXPORT)
    private BigDecimal expenseRateFee;

    /** 其他费用 */
    @Excel(name = "其他费用")
    private BigDecimal otherFee;

    /** 总结算费用 */
    @Excel(name = "总结算费用", type = Excel.Type.EXPORT)
    private BigDecimal totalFee;

    /** 已结算费用 */
    @Excel(name = "已结算费用", type = Excel.Type.EXPORT)
    private BigDecimal billedFee;

    /** 已收费用 */
    @Excel(name = "已收费用", type = Excel.Type.EXPORT)
    private BigDecimal payedFee;

    /**毛利率 */
    private BigDecimal profitRate;

    /** 毛利润计算说明 */
    private String profitExplain;

    private String customerName;

    private Integer customerId;

    /** 收款截止期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款截止期", width = 30, dateFormat = "yyyy-MM-dd", type = Excel.Type.EXPORT)
    private Date expireTime;

    /** 备注 */
    private String description;

}
